package org.jeecg.modules.demo.customer.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 客户表
 * @Author: jeecg-boot
 * @Date:   2025-03-11
 * @Version: V1.0
 */
@Data
@TableName("customer")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="customer对象", description="客户表")
public class Customer implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private java.lang.String profilePicture;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String customerName;
	/**公司名称*/
	@Excel(name = "公司名称", width = 15)
    @ApiModelProperty(value = "公司名称")
    private java.lang.String companyName;
	/**会员等级*/
	@Excel(name = "会员等级", width = 15, dicCode = "membership_level")
	@Dict(dicCode = "membership_level")
    @ApiModelProperty(value = "会员等级")
    private java.lang.Integer membershipLevel;
	/**客户级别*/
	@Excel(name = "客户级别", width = 15, dicCode = "customer_level")
	@Dict(dicCode = "customer_level")
    @ApiModelProperty(value = "客户级别")
    private java.lang.Integer customerLevel;
	/**客户标签*/
	@Excel(name = "客户标签", width = 15, dicCode = "customer_label")
	@Dict(dicCode = "customer_label")
    @ApiModelProperty(value = "客户标签")
    private java.lang.Integer customerLabel;
	/**账户余额*/
	@Excel(name = "账户余额", width = 15)
    @ApiModelProperty(value = "账户余额")
    private java.math.BigDecimal accountBalance;
	/**累计消费*/
	@Excel(name = "累计消费", width = 15)
    @ApiModelProperty(value = "累计消费")
    private java.math.BigDecimal accumulatedConsumption;
	/**代金券*/
	@Excel(name = "代金券", width = 15)
    @ApiModelProperty(value = "代金券")
    private java.lang.Integer voucher;
	/**业务人员*/
	@Excel(name = "业务人员", width = 15)
    @ApiModelProperty(value = "业务人员")
    private java.lang.String businessPersonnel;
	/**客服人员*/
	@Excel(name = "客服人员", width = 15)
    @ApiModelProperty(value = "客服人员")
    private java.lang.String customerServicePersonnel;
	/**账户类型*/
	@Excel(name = "账户类型", width = 15, dicCode = "account_type")
	@Dict(dicCode = "account_type")
    @ApiModelProperty(value = "账户类型")
    private java.lang.Integer accountType;
	/**项目数*/
	@Excel(name = "项目数", width = 15)
    @ApiModelProperty(value = "项目数")
    private java.lang.Integer item;
	/**电子邮箱*/
	@Excel(name = "电子邮箱", width = 15)
    @ApiModelProperty(value = "电子邮箱")
    private java.lang.String email;
	/**最后交易*/
	@Excel(name = "最后交易", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最后交易")
    private java.util.Date finalTransaction;
	/**微信名称*/
	@Excel(name = "微信名称", width = 15)
    @ApiModelProperty(value = "微信名称")
    private java.lang.String wechatName;
	/**电话号码*/
	@Excel(name = "电话号码", width = 15)
    @ApiModelProperty(value = "电话号码")
    private java.lang.String phoneNumber;
	/**微信账号*/
	@Excel(name = "微信账号", width = 15)
    @ApiModelProperty(value = "微信账号")
    private java.lang.String wechatAccount;
	/**公司地址*/
	@Excel(name = "公司地址", width = 15)
    @ApiModelProperty(value = "公司地址")
    private java.lang.String companyAddress;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
